﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000901 RID: 2305
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusSnsReadScRsp : IMessage<HeliobusSnsReadScRsp>, IMessage, IEquatable<HeliobusSnsReadScRsp>, IDeepCloneable<HeliobusSnsReadScRsp>, IBufferMessage
	{
		// Token: 0x17001D25 RID: 7461
		// (get) Token: 0x0600674B RID: 26443 RVA: 0x0011523C File Offset: 0x0011343C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusSnsReadScRsp> Parser
		{
			get
			{
				return HeliobusSnsReadScRsp._parser;
			}
		}

		// Token: 0x17001D26 RID: 7462
		// (get) Token: 0x0600674C RID: 26444 RVA: 0x00115243 File Offset: 0x00113443
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusSnsReadScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D27 RID: 7463
		// (get) Token: 0x0600674D RID: 26445 RVA: 0x00115255 File Offset: 0x00113455
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusSnsReadScRsp.Descriptor;
			}
		}

		// Token: 0x0600674E RID: 26446 RVA: 0x0011525C File Offset: 0x0011345C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsReadScRsp()
		{
		}

		// Token: 0x0600674F RID: 26447 RVA: 0x00115264 File Offset: 0x00113464
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsReadScRsp(HeliobusSnsReadScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.iJIIPGAFKJN_ = other.iJIIPGAFKJN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006750 RID: 26448 RVA: 0x00115295 File Offset: 0x00113495
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsReadScRsp Clone()
		{
			return new HeliobusSnsReadScRsp(this);
		}

		// Token: 0x17001D28 RID: 7464
		// (get) Token: 0x06006751 RID: 26449 RVA: 0x0011529D File Offset: 0x0011349D
		// (set) Token: 0x06006752 RID: 26450 RVA: 0x001152A5 File Offset: 0x001134A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001D29 RID: 7465
		// (get) Token: 0x06006753 RID: 26451 RVA: 0x001152AE File Offset: 0x001134AE
		// (set) Token: 0x06006754 RID: 26452 RVA: 0x001152B6 File Offset: 0x001134B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IJIIPGAFKJN
		{
			get
			{
				return this.iJIIPGAFKJN_;
			}
			set
			{
				this.iJIIPGAFKJN_ = value;
			}
		}

		// Token: 0x06006755 RID: 26453 RVA: 0x001152BF File Offset: 0x001134BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusSnsReadScRsp);
		}

		// Token: 0x06006756 RID: 26454 RVA: 0x001152CD File Offset: 0x001134CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusSnsReadScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.IJIIPGAFKJN == other.IJIIPGAFKJN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006757 RID: 26455 RVA: 0x0011530C File Offset: 0x0011350C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IJIIPGAFKJN != 0U)
			{
				num ^= this.IJIIPGAFKJN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006758 RID: 26456 RVA: 0x00115364 File Offset: 0x00113564
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006759 RID: 26457 RVA: 0x0011536C File Offset: 0x0011356C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600675A RID: 26458 RVA: 0x00115378 File Offset: 0x00113578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IJIIPGAFKJN != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.IJIIPGAFKJN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600675B RID: 26459 RVA: 0x001153D4 File Offset: 0x001135D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IJIIPGAFKJN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IJIIPGAFKJN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600675C RID: 26460 RVA: 0x0011542C File Offset: 0x0011362C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusSnsReadScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IJIIPGAFKJN != 0U)
			{
				this.IJIIPGAFKJN = other.IJIIPGAFKJN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600675D RID: 26461 RVA: 0x0011547C File Offset: 0x0011367C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600675E RID: 26462 RVA: 0x00115488 File Offset: 0x00113688
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IJIIPGAFKJN = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002773 RID: 10099
		private static readonly MessageParser<HeliobusSnsReadScRsp> _parser = new MessageParser<HeliobusSnsReadScRsp>(() => new HeliobusSnsReadScRsp());

		// Token: 0x04002774 RID: 10100
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002775 RID: 10101
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04002776 RID: 10102
		private uint retcode_;

		// Token: 0x04002777 RID: 10103
		public const int IJIIPGAFKJNFieldNumber = 7;

		// Token: 0x04002778 RID: 10104
		private uint iJIIPGAFKJN_;
	}
}
